package grape.composite.rest.businessdistrict.form;
import grape.common.rest.form.BaseUpdateForm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
 * <p>
 * 商圈表
 * </p>
 *
 * @author yangwei
 * @since 2020-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="商圈更新表单对象")
public class BusinessDistrictUpdateForm extends BaseUpdateForm {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message="名称不能为空")
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    @NotEmpty(message="省不能为空")
    @ApiModelProperty(value = "省",required = true)
    private String provinceAreaId;

    @NotEmpty(message="城市不能为空")
    @ApiModelProperty(value = "城市",required = true)
    private String cityAreaId;

    @NotEmpty(message="区不能为空")
    @ApiModelProperty(value = "区",required = true)
    private String districtAreaId;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "备注")
    private String remark;

}
